import sys

def print_path():
    for path in sys.path:
        print(path)

print("修改前")

print_path()
sys.path.append("c:\\")

print('修改后')

print_path()